#include "mode_scene_config.h"

SCENE_SYS scene_ssp;
u8 scene_senet;//灵敏度

// 场景模式配置地址
const SCENE_LOACL_DATA scene_local_data[SCENE_MODE_NUM] = {
    {}, //0 空
    {"mode1",MODE1_DATA,{}}, //1 本地场景1
    {"mode2",MODE2_DATA,{}}, //2 本地场景2
    {"mode3",MODE3_DATA,{}}, //3 本地场景3
    {"mode4",MODE4_DATA,{}}, //4 本地场景4
    {"mode5",MODE5_DATA,{}}, //5 本地场景5
    {"mode6",MODE6_DATA,{}}, //6 本地场景6
    {"mode7",MODE7_DATA,{}}, //7 本地场景7
    {"mode8",MODE8_DATA,{}}, //8 本地场景8
    {"mode9",MODE9_DATA,{}}, //9 本地场景9
    {"mode10",MODE10_DATA,{}}, //10 本地场景10
    {"mode11",MODE11_DATA,{}}, //11 本地场景11
    {"mode12",MODE12_DATA,{}}, //12 本地场景12
    {"group_mode1",0x0,{4,40,45,{0x00,0x42,0xff, 0x00,0x4d,0xff, 0x00,0x5e,0xff, 0x00,0x71,0xff, 0x00,0x86,0xff, 0x00,0x9b,0xff, 0x00,0xad,0xff, 0x04,0xba,0xff, 0x0e,0xc5,0xfe, 0x11,0xcf,0xfe, 0x10,0xd6,0xfe, 0x0c,0xd6,0xfe, 0x07,0x3f,0xfd, 0x01,0xe3,0xfd, 0x00,0xec,0xfc}}}, //1 组合场景1
    {"group_mode2",0x0,{1,20,12,{0xFF,0x00,0x54,0xFF,0x2A,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}}, //2 组合场景2
    {"group_mode3",0x0,{1,20,18,{0xFF,0x0E,0x00,0xFF,0x0E,0x00,0xFF,0x2B,0x01,0xFF,0x2B,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}}, //3 组合场景3
    {"group_mode4",0x0,{8,20,15,{0xFF,0x32,0x00,0xFF,0x46,0X18,0xFF,0x5A,0X32,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}}, //4 组合场景4
    {"group_mode5",0x0,{1,20,24,{0x00,0x00,0xFF,0x00,0x00,0x00,0xFD,0x61,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0xFD,0x61,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}}, //5 组合场景5
    {"group_mode6",0x0,{6,20, 9,{0x61,0x18,0xFF,0xFF,0x3E,0x18,0x18,0x54,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}}, //6 组合场景6
    {"group_mode7",0x0,{2,50,30,{0xFF,0x00,0x00,0xFF,0x1E,0x00,0xFF,0x1E,0x00,0xFF,0x00,0x00,0xFF,0x1E,0x00,0xFF,0x1E,0x00,0xFF,0x00,0x00,0xFF,0x1E,0x00,0xFF,0x2D,0x11,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}}, //7 组合场景7
    {"group_mode8",0x0,{2,50, 9,{0x3E,0xCF,0xE4,0xFF,0xFF,0xFF,0x3E,0xF1,0xE4,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}}, //8 组合场景8
    {"group_mode9",0x0,{1,60, 3,{0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}}, //9 组合场景9
    {"group_mode10",0x0,{4,50,12,{0xFF,0xFF,0xFF,0x00,0xFF,0x00,0x00,0x1E,0xFF,0x00,0x1E,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}}, //10 组合场景10
    {"group_mode11",0x0,{6,50,12,{0xD8,0x00,0x7B,0xFB,0x00,0x44,0xFE,0x00,0x00,0x2C,0x1C,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}}, //11 组合场景11
    {"group_mode12",0x0,{2,50,27,{0xA8,0x00,0xFF,0xA8,0x00,0xFF,0xA8,0x00,0xFF,0x00,0x00,0xFF,0x3F,0x3F,0xFF,0x62,0x0D,0xFF,0x62,0x0D,0xFF,0x21,0x9D,0xFD,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}}, //12 组合场景12
};

void set_scene_ssp(u8 num)
{
    scene_ssp.ssp =num;
    LOG_INFO("scene_ssp.ssp %d\n",scene_ssp.ssp);
}

void set_scene_last_ssp(u8 num)
{
    scene_ssp.last_ssp = num;
    LOG_INFO("scene_ssp.last_ssp %d\n",scene_ssp.last_ssp);
}

EM_SCENE_SSP get_scene_ssp()
{
    return scene_ssp.ssp;
}

EM_SCENE_SSP get_scene_last_ssp()
{
    return scene_ssp.last_ssp;
}

/*设置场景模式灵敏度*/
void set_scene_senet(u8 senet)
{
    scene_senet =senet;
}

/*获取场景模式灵敏度*/
u8 get_scene_senet()
{
    return scene_senet;
}




